package com.ktjy.thymeleaf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ktjy.thymeleaf.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface SysUserMapper{
    public List<SysUser> getUserListWithRoleName();
    public SysUser getUserByAccountWithRoleName(String account);
    public int insert(SysUser sysUser);
    public int update(SysUser sysUser);
    public int delete(Long id);
    public SysUser selectById(Long id);
}
